From fe5ff59ad6b4c8b7b5350e3335875d297f820773 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 9 Apr 2004 01:37:41 +0000 Subject: [PATCH] XHTML fixes. --- includes/Article.php | 4 ++-- includes/DifferenceEngine.php | 2 +- includes/ImagePage.php | 6 +++--- includes/OutputPage.php | 2 +- includes/SearchEngine.php | 36 ++++++++++++++++---------------- includes/Skin.php | 4 ++-- includes/SpecialImagelist.php | 16 +++++++------- includes/SpecialIpblocklist.php | 36 +++++++++++++++++++------------- includes/SpecialUnusedimages.php | 11 +++++----- 9 files changed, 62 insertions(+), 55 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index 8305d3ae0b..7ba998fc1a 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -791,7 +791,7 @@ class Article { if( ($old=wfFetchObject($res)) && !$confirm ) { $skin=$wgUser->getSkin(); $wgOut->addHTML("".wfMsg("historywarning")); - $wgOut->addHTML( $skin->historyLink() ."

"); + $wgOut->addHTML( $skin->historyLink() .""); } $sql="SELECT cur_text FROM cur WHERE cur_namespace=$ns and cur_title='$etitle'"; @@ -915,7 +915,7 @@ class Article { $text = wfMsg( "deletedtext", $deleted, $loglink ); - $wgOut->addHTML( "

" . $text ); + $wgOut->addHTML( "

" . $text . "

\n" ); $wgOut->returnToMain( false ); } else { $wgOut->fatalError( wfMsg( "cannotdelete" ) ); diff --git a/includes/DifferenceEngine.php b/includes/DifferenceEngine.php index 4664515132..28e95f11d3 100644 --- a/includes/DifferenceEngine.php +++ b/includes/DifferenceEngine.php @@ -1114,7 +1114,7 @@ class TableDiffFormatter extends DiffFormatter } function emptyLine() { - return " "; + return " "; } function contextLine( $line ) { diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 4ba864d7ef..437346279c 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -100,10 +100,10 @@ class ImagePage extends Article { $res = wfQuery( $sql, DB_READ, "Article::imageLinks" ); if ( 0 == wfNumRows( $res ) ) { - $wgOut->addHtml( "

" . wfMsg( "nolinkstoimage" ) . "\n" ); + $wgOut->addHtml( "

" . wfMsg( "nolinkstoimage" ) . "

\n" ); return; } - $wgOut->addHTML( "

" . wfMsg( "linkstoimage" ) . "\n